Skip to content

ci: publish Python SDKs to PyPI with OIDC#529

Merged
IxayWolf merged 2 commits into
mainfrom
ivana/pypi-oidc-publish
May 20, 2026
Merged

ci: publish Python SDKs to PyPI with OIDC#529
IxayWolf merged 2 commits into
mainfrom
ivana/pypi-oidc-publish

Conversation

@IxayWolf
Copy link
Copy Markdown

@IxayWolf IxayWolf commented May 14, 2026

Summary

  • replace the Speakeasy reusable PyPI publish workflow with a local publish job that uses GitHub OIDC trusted publishing
  • keep the same publish triggers and package set: mistralai, mistralai-azure, and mistralai-gcp
  • add uv exclude-newer = "7 days" to the root, Azure, and GCP projects

PyPI registry setup still needed

  • configure trusted publishers for the three PyPI projects with owner mistralai, repository client-python, workflow sdk_publish_mistralai_sdk.yaml, and environment public-sdk

Verification

  • git diff --check
  • uv build for root, Azure, and GCP packages

After merging

REMOVE THE PYPI TOKEN FROM THE CI AND INVALIDATE IT 🙏

@IxayWolf IxayWolf force-pushed the ivana/pypi-oidc-publish branch from 339c8d7 to 24cb56f Compare May 20, 2026 15:27
@IxayWolf IxayWolf merged commit 3acff98 into main May 20, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants